package 笔试记录.M9day5;

import java.util.Locale;
import java.util.Scanner;

public class Solution1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
//        char[] arr = s.toCharArray();
//        int count = 0;
//        StringBuilder str = new StringBuilder();
//        for (int i = arr.length - 1; i >= 0; i--) {
//            str.append(arr[i]);
//            count++;
//            if(count % 3 == 0){
//                str.append(",");
//            }
//        }
//        System.out.println(s.toUpperCase());
//        System.out.println(str.reverse().toString());
        System.out.println(solve(s));
    }

    public static String solve(String s){
        char[] arr = s.toCharArray();
        StringBuilder str = new StringBuilder();
        for (int i = 0; i < arr.length; i++) {
            if(arr[i] >= 97 && arr[i] <= 122){
                arr[i] = (char) (arr[i] - 22);
            }
            str.append(arr[i]);
        }
        return str.toString();
    }
}
